<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<s:url action="signOutAction" id="dd"></s:url>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="../style/style.css" />
<title><tiles:insertAttribute name="title" ignore="true" /></title>
<script>
function MenuDiv()
{
	if (document.getElementById("div1"))
	{
		var divID=document.getElementById("div1");
		var divIDpos=divID.style.display;
	}
	
	if(divIDpos=="none")
	{
		divID.style.display="block";
	}
	if(divIDpos=="block")
	{
		divID.style.display="none";
	}
	
}
</script>

</head>
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
<table border="0" cellpadding="2" cellspacing="0" width="975">
	<tr>
		<td>
		<table cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td><a href="javascript:void(0)" onclick="MenuDiv()">Menu</a>
				<div id="div1"
					style="display: none; position: absolute; background-color: #FFFFFF; width: 300px">
					<s:include value="menuList.jsp"></s:include>
				</div></td>
				<td align="right">
				<s:if test="#session.user$!=null">Logged in as <s:property
						value="#session.user$.userName" />, <s:property
						value="#session.user$.team.name" /> |  <s:a href="signOutAction">Logout</s:a>
				</s:if>
				</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr height="30">
		<td  height="30" class="oxydarkBg"><tiles:insertAttribute name="header"></tiles:insertAttribute></td>
	</tr>
	<tr  class="lightBg" height="550">
		<td valign="top"><tiles:insertAttribute name="body"></tiles:insertAttribute>
		</td>
	</tr>
	<tr class="lightBg" height="30">
		<td height="30" ><tiles:insertAttribute name="footer"></tiles:insertAttribute>
		</td>
	</tr>
</table>
</body>
</html>